package com.zlt.entity;

import com.zlt.annotation.Column;
import com.zlt.annotation.Id;
import com.zlt.annotation.ManyToOne;
import com.zlt.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@ToString
@AllArgsConstructor
@NoArgsConstructor
@Data
@Table("resume")
public class Resume {

    @Id
    private Integer rid;

    @ManyToOne("uid")
    private User user;

    @Column
    private String path;

    @Column
    private String filename;

    @Column("create_time")
    private String createTime;

    @Column("update_time")
    private String updateTime;

    @Column
    private Integer state;
}
